package com.eliteams.quick4j.core.entity;

import java.util.Date;

/**
 * Created by Administrator on 2016/4/17.
 */
public class Entry {
    private String title;
    private String url;
    private String urlEnc;
    private String source;
    private Category category;
    private String abs;
    private String imgUrl;
    private Date time;
    private int relate;
    private String same;
    private int pn;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUrlEnc() {
        return urlEnc;
    }

    public void setUrlEnc(String urlEnc) {
        this.urlEnc = urlEnc;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public String getAbs() {
        return abs;
    }

    public void setAbs(String abs) {
        this.abs = abs;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public int getRelate() {
        return relate;
    }

    public void setRelate(int relate) {
        this.relate = relate;
    }

    public String getSame() {
        return same;
    }

    public void setSame(String same) {
        this.same = same;
    }

    @Override
    public String toString() {
        return "Entry{" +
                "title='" + title + '\'' +
                ", url='" + url + '\'' +
                ", urlEnc='" + urlEnc + '\'' +
                ", source='" + source + '\'' +
                ", category=" + category +
                ", abs='" + abs + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", time=" + time +
                ", relate=" + relate +
                ", same='" + same + '\'' +
                ", pn=" + pn +
                '}';
    }

    public int getPn() {
        return pn;
    }

    public void setPn(int pn) {
        this.pn = pn;
    }
}
